<?php foreach($walls as $wall) :?>
    <div class="myWall">
        <div class="myWallCommentPhoto"><img src="<?php if($wall->getPoster()->getProfilePicture() != NULL) echo $wall->getPoster()->getProfilePicture()->getUrl();?>" alt="" /></div>
        <div class="myWallCommentPoster"><a href="<?php echo $this->createUrl('profile/view/' . $wall->getPoster()->id);?>"> <?php echo $wall->getPoster()->fullname;?></a></div>
        <div class="myWallCommentContent"><?php echo $wall->content?></div>
            <?php foreach($wall->getChildWalls() as $w) : ?>
            <div class="myWallComment">
                <div class="myWallCommentPhoto"><img src="<?php if($w->getPoster()->getProfilePicture() != NULL) echo $w->getPoster()->getProfilePicture()->getUrl();?>" alt="" /></div>
                <div class="myWallCommentPoster"><a href="<?php echo $this->createUrl('profile/view/' . $user->id);?>"> <?php echo $w->getPoster()->fullname;?></a></div>
                <div class="myWallCommentContent"><?php echo $w->content?></div>
            </div>
            <?php endforeach;?>
        <div class="myWallComment">
            <form action="<?php echo $this->createUrl('profile/commentwall/' . $wall->id);?>" method="post">
                <input class="commentWallText" type="text" name="commentwall" value="Write your comment..." onfocus="this.value=''" onblur="this.value='Write your comment...'" />
            </form>
        </div>
    </div>
<?php endforeach;?>